﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%@ Register TagName="Head" TagPrefix="Control" Src="~/Views/Control/Head.ascx" %>
<%@ Register TagName="Menu" TagPrefix="Control" Src="~/Views/Control/Menu.ascx" %>
<%@ Register TagName="CmnTab" TagPrefix="Control" Src="~/Views/Control/CmnTab.ascx" %>
<%@ Register TagName="CmnRemind" TagPrefix="Control" Src="~/Views/Control/CmnRemind.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>index</title>
    <script src="../../Scripts/jquery-1.7.2.js" type="text/javascript"></script>
    <script src="../../Scripts/prototype1.7.js" type="text/javascript"></script>
    <script src="../../Scripts/Common/Common.js" type="text/javascript"></script>
    <script src="../../Scripts/Common/MainScript.js" type="text/javascript"></script>
    <script src="../../Scripts/Default/MainForm.js" type="text/javascript"></script>
    <style type="text/css">
        html
        {
            height: 100%;
        }
    </style>
</head>
<body style="width: 100%; height: 100%; margin: 0px;" id="mainForm_body">
    <div style="height: 100%;">
        <div style="background: url(../../Content/images/head_title.png) repeat;">
            <Control:Head ID="Index_HeadControl" runat="server" />
        </div>
        <div style="border: #CCFFFF 4px ridge;" id="mainForm_bottom_div">
            <table style="width: 100%; height: 100%" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="width: 200px;" valign="top" id="td_menu">
                        <div style="padding-top: 0px;" id="div_menu">
                            <Control:Menu ID="Index_MenuControl" runat="server" />
                        </div>
                        <div style="margin-top: 30px; cursor: pointer;" id="menu_hidden">
                            <img src="../../Content/images/btn_left.png" alt="收缩" />
                        </div>
                    </td>
                    <td>
                        <div style="height: 100%;">
                            <Control:CmnTab ID="Index_CmnTab" runat="server" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <Control:CmnRemind ID="Index_CmnRemind" runat="server" />
    </div>
    <script type="text/javascript">
        var mainFormIns = new MainForm();
        $j(function () {
            mainFormIns.headIns = <%= Index_HeadControl.GetJSInstance() %>;
            mainFormIns.menuIns = <%= Index_MenuControl.GetJSInstance() %>;
            mainFormIns.cmnTabIns = <%= Index_CmnTab.GetJSInstance() %>;
                       
            mainFormIns.init();
        });
    </script>
</body>
</html>
